const renderDonate = function(json) {
	return '<img height="254px" width="300px" src="img/donate1.png"/>';
};

export const mainMenu = [{
		code: "10001",
		name: "介绍",
		icon: "./img/intro.png",
		link: "unfinish.html",
		render: renderDonate
	},
	{
		code: "10002",
		name: "双向绑定",
		icon: "fa-refresh",
		link: "bind.html",
		children: [{
				"tag": "湘东",
				"icon": "fa-flag"
			},
			{
				"code": "430100",
				"name": "长沙市",
				"pCode": "430000",
				"link": "#",
				"icon": "fa-th-large"

			}, {
				"code": "430200",
				"name": "株洲市",
				"pCode": "430000",
				"link": "#",
				"icon": "fa-th-large"

			}, {
				"code": "430300",
				"name": "湘潭市",
				"pCode": "430000",
				"link": "#"

			},
			{
				"tag": "湘南",
				"icon": "fa-flag"
			},
			{
				"code": "430400",
				"name": "衡阳市",
				"pCode": "430000",
				"link": "#",
				"icon": "fa-th-large"

			}, {
				"code": "431000",
				"name": "郴州市",
				"pCode": "430000",
				"link": "#",
				"icon": "fa-th-large"

			},
			{
				"code": "431100",
				"name": "永州市",
				"pCode": "430000",
				"link": "#",
				"icon": "fa-th-large"

			}
		]
	},
	{
		code: "10003",
		name: "左侧菜单",
		icon: "fa-bars",
		link: "unfinish.html",
		render: renderDonate
	},

	{
		code: "10006",
		name: "页面目录",
		icon: "fa-list-ul",
		link: "unfinish.html"
	},
	{
		code: "10007",
		name: "实用表格",
		icon: "fa-table",
		link: "unfinish.html",
		children: [{
				"tag": "湘东",
				"icon": "fa-flag"
			},
			{
				"code": "430100",
				"name": "长沙市",
				"pCode": "430000",
				"link": "#",
				"icon": "fa-th-large"

			}, {
				"code": "430200",
				"name": "株洲市",
				"pCode": "430000",
				"link": "#",
				"icon": "fa-th-large"

			}, {
				"code": "430300",
				"name": "湘潭市",
				"pCode": "430000",
				"link": "#"

			},
			{
				"tag": "湘南",
				"icon": "fa-flag"
			},
			{
				"code": "430400",
				"name": "衡阳市",
				"pCode": "430000",
				"link": "#",
				"icon": "fa-th-large"

			}, {
				"code": "431000",
				"name": "郴州市",
				"pCode": "430000",
				"link": "#",
				"icon": "fa-th-large"

			},
			{
				"code": "431100",
				"name": "永州市",
				"pCode": "430000",
				"link": "#",
				"icon": "fa-th-large"

			}
		]
	},
	{
		code: "10008",
		name: "级联选择",
		icon: "fa-gg",
		link: "unfinish.html"
	},

	{
		code: "10010",
		name: "多选控件",
		icon: "fa-plus",
		link: "unfinish.html"
	}
];

export const searchData = [{
		code: "10002",
		name: "双向绑定",
		icon: "fa-refresh",
		link: "bind.html"
	},
	{
		code: "10003",
		name: "左侧菜单",
		icon: "fa-bars",
		link: "unfinish.html"
	},
	{
		code: "10004",
		name: "Hover菜单(顶)",
		icon: "fa-bars",
		link: "unfinish.html"
	},
	{
		code: "10005",
		name: "Hover菜单(左)",
		icon: "fa-bars",
		link: "unfinish.html"
	},
	{
		code: "10006",
		name: "页面目录",
		icon: "fa-list-ul",
		link: "unfinish.html"
	},
	{
		code: "10007",
		name: "实用表格",
		icon: "fa-table",
		link: "unfinish.html"
	},
	{
		code: "10008",
		name: "级联选择",
		icon: "fa-gg",
		link: "unfinish.html"
	},
	{
		code: "1009",
		name: "行政区域",
		icon: "fa-location-arrow",
		link: "unfinish.html"
	},
	{
		code: "10010",
		name: "多选控件",
		icon: "fa-plus",
		link: "unfinish.html"
	},

	{
		code: "10011",
		name: "日期&范围",
		icon: "fa-calendar",
		link: "unfinish.html"
	},
	{
		code: "10012",
		name: "实用函数",
		icon: "fa-superpowers",
		link: "unfinish.html"
	}
];

export const topMenu = [{
		code: "1001",
		name: "下载",
		link: "unfinish.html"
	},
	{
		code: "1002",
		name: "打赏",
		subRender: renderDonate,
		width: 302
	},
	{
		code: "1003",
		name: "授权",
		link: "unfinish.html"
	},
	{
		code: "1004",
		name: "咨询",
		link: "unfinish.html"
	},
	{
		code: "1005",
		name: "社区",
		link: "unfinish.html"
	},
	{
		code: "1006",
		name: "登录",
		link: "unfinish.html"
	}
];